﻿//-------------------------------------------------------------------------------------------------------------------------------------
// Copyright (C) 2005 greatelsoft.com All Rights Reserved
//-------------------------------------------------------------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Text;
using Pub.Class;

namespace GTS.MiniBox.Entity {
    /// <summary>
    /// 通道控制台小时日志实体类
    /// 
    /// 修改纪录
    ///     2012-07-25 版本：1.0 系统自动创建此类
    /// 
    /// </summary>
    [Serializable]
    [EntityInfo("通道控制台小时日志")]
    public partial class ChannelRuleHour {
        /// <summary>
        /// 通道控制台小时日志
        /// </summary>
        public static readonly string _ = "ChannelRuleHour";

        /// <summary>
        /// 通道控制台小时日志编号
        /// </summary>
        public static readonly string _ID = "ChannelRuleHour.ID";
        private Int64? iD = null;
        /// <summary>
        /// 通道控制台小时日志编号
        /// </summary>
        [EntityInfo("通道控制台小时日志编号")]
        public new Int64? ID { get { return iD; } set { iD = value; } }

        /// <summary>
        /// 运营商编号
        /// </summary>
        public static readonly string _CstCode = "ChannelRuleHour.CstCode";
        private int? cstCode = null;
        /// <summary>
        /// 运营商编号
        /// </summary>
        [EntityInfo("运营商编号")]
        public new int? CstCode { get { return cstCode; } set { cstCode = value; } }

        /// <summary>
        /// 区号
        /// </summary>
        public static readonly string _CityCode = "ChannelRuleHour.CityCode";
        private string cityCode = null;
        /// <summary>
        /// 区号
        /// </summary>
        [EntityInfo("区号")]
        public new string CityCode { get { return cityCode; } set { cityCode = value; } }

        /// <summary>
        /// 通道编号
        /// </summary>
        public static readonly string _ChannelID = "ChannelRuleHour.ChannelID";
        private int? channelID = null;
        /// <summary>
        /// 通道编号
        /// </summary>
        [EntityInfo("通道编号")]
        public new int? ChannelID { get { return channelID; } set { channelID = value; } }

        /// <summary>
        /// 类型 1SMS 2IVR 3WAP
        /// </summary>
        public static readonly string _Type = "ChannelRuleHour.Type";
        private int? type = null;
        /// <summary>
        /// 类型 1SMS 2IVR 3WAP
        /// </summary>
        [EntityInfo("类型 1SMS 2IVR 3WAP")]
        public new int? Type { get { return type; } set { type = value; } }

        /// <summary>
        /// 状态 0可用 1禁用 2带量 3手控优先级
        /// </summary>
        public static readonly string _Status = "ChannelRuleHour.Status";
        private int? status = null;
        /// <summary>
        /// 状态 0可用 1禁用 2带量 3手控优先级
        /// </summary>
        [EntityInfo("状态 0可用 1禁用 2带量 3手控优先级")]
        public new int? Status { get { return status; } set { status = value; } }

        /// <summary>
        /// 状态Date
        /// </summary>
        public static readonly string _StatusDate = "ChannelRuleHour.StatusDate";
        private DateTime? statusDate = null;
        /// <summary>
        /// 状态Date
        /// </summary>
        [EntityInfo("状态Date")]
        public new DateTime? StatusDate { get { return statusDate; } set { statusDate = value; } }

        /// <summary>
        /// 带量最大发送条数
        /// </summary>
        public static readonly string _MaxSendCount = "ChannelRuleHour.MaxSendCount";
        private int? maxSendCount = null;
        /// <summary>
        /// 带量最大发送条数
        /// </summary>
        [EntityInfo("带量最大发送条数")]
        public new int? MaxSendCount { get { return maxSendCount; } set { maxSendCount = value; } }

        /// <summary>
        /// 手动排序
        /// </summary>
        public static readonly string _ManualOrderBy = "ChannelRuleHour.ManualOrderBy";
        private int? manualOrderBy = null;
        /// <summary>
        /// 手动排序
        /// </summary>
        [EntityInfo("手动排序")]
        public new int? ManualOrderBy { get { return manualOrderBy; } set { manualOrderBy = value; } }

        /// <summary>
        /// 区排序
        /// </summary>
        public static readonly string _OrderNum = "ChannelRuleHour.OrderNum";
        private int? orderNum = null;
        /// <summary>
        /// 区排序
        /// </summary>
        [EntityInfo("区排序")]
        public new int? OrderNum { get { return orderNum; } set { orderNum = value; } }

        /// <summary>
        /// 整体排序
        /// </summary>
        public static readonly string _OrderNum2 = "ChannelRuleHour.OrderNum2";
        private int? orderNum2 = null;
        /// <summary>
        /// 整体排序
        /// </summary>
        [EntityInfo("整体排序")]
        public new int? OrderNum2 { get { return orderNum2; } set { orderNum2 = value; } }

        /// <summary>
        /// 禁用(日期,原因)
        /// </summary>
        public static readonly string _StatusResult = "ChannelRuleHour.StatusResult";
        private string statusResult = null;
        /// <summary>
        /// 禁用(日期,原因)
        /// </summary>
        [EntityInfo("禁用(日期,原因)")]
        public new string StatusResult { get { return statusResult; } set { statusResult = value; } }

        /// <summary>
        /// 成功率
        /// </summary>
        public static readonly string _SuccessRate = "ChannelRuleHour.SuccessRate";
        private decimal? successRate = null;
        /// <summary>
        /// 成功率
        /// </summary>
        [EntityInfo("成功率")]
        public new decimal? SuccessRate { get { return successRate; } set { successRate = value; } }

        /// <summary>
        /// 发送条数
        /// </summary>
        public static readonly string _SendCount = "ChannelRuleHour.SendCount";
        private int? sendCount = null;
        /// <summary>
        /// 发送条数
        /// </summary>
        [EntityInfo("发送条数")]
        public new int? SendCount { get { return sendCount; } set { sendCount = value; } }

        /// <summary>
        /// 发送用户数
        /// </summary>
        public static readonly string _SendUser = "ChannelRuleHour.SendUser";
        private int? sendUser = null;
        /// <summary>
        /// 发送用户数
        /// </summary>
        [EntityInfo("发送用户数")]
        public new int? SendUser { get { return sendUser; } set { sendUser = value; } }

        /// <summary>
        /// 发送金额(角)
        /// </summary>
        public static readonly string _SendMoney = "ChannelRuleHour.SendMoney";
        private int? sendMoney = null;
        /// <summary>
        /// 发送金额(角)
        /// </summary>
        [EntityInfo("发送金额(角)")]
        public new int? SendMoney { get { return sendMoney; } set { sendMoney = value; } }

        /// <summary>
        /// 接收条数
        /// </summary>
        public static readonly string _SpCount = "ChannelRuleHour.SpCount";
        private int? spCount = null;
        /// <summary>
        /// 接收条数
        /// </summary>
        [EntityInfo("接收条数")]
        public new int? SpCount { get { return spCount; } set { spCount = value; } }

        /// <summary>
        /// 接收用户数
        /// </summary>
        public static readonly string _SpUser = "ChannelRuleHour.SpUser";
        private int? spUser = null;
        /// <summary>
        /// 接收用户数
        /// </summary>
        [EntityInfo("接收用户数")]
        public new int? SpUser { get { return spUser; } set { spUser = value; } }

        /// <summary>
        /// 接收金额(角)
        /// </summary>
        public static readonly string _SpMoney = "ChannelRuleHour.SpMoney";
        private int? spMoney = null;
        /// <summary>
        /// 接收金额(角)
        /// </summary>
        [EntityInfo("接收金额(角)")]
        public new int? SpMoney { get { return spMoney; } set { spMoney = value; } }

        /// <summary>
        /// 更新时间
        /// </summary>
        public static readonly string _UpdateTime = "ChannelRuleHour.UpdateTime";
        private DateTime? updateTime = null;
        /// <summary>
        /// 更新时间
        /// </summary>
        [EntityInfo("更新时间")]
        public new DateTime? UpdateTime { get { return updateTime; } set { updateTime = value; } }

        /// <summary>
        /// 排名
        /// </summary>
        public static readonly string _Ranking = "ChannelRuleHour.Ranking";
        private int? ranking = null;
        /// <summary>
        /// 排名
        /// </summary>
        [EntityInfo("排名")]
        public new int? Ranking { get { return ranking; } set { ranking = value; } }
    }
}



